package com.jf.net.core

import androidx.annotation.IntDef

/**
 * StatusValue
 * @author JackyFlame
 * @time 2023/10/20 15:44
 * @description
 */
@Target(AnnotationTarget.FIELD, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE)
@IntDef(value = [StatusValue.SUCCESS, StatusValue.FAILURE, StatusValue.LOADING, StatusValue.WARNING])
@Retention(AnnotationRetention.SOURCE)
annotation class StatusValue {
    companion object {
        const val SUCCESS = 0
        const val FAILURE = 1
        const val LOADING = 2
        const val WARNING = 3
    }
}